using System;
using System.Data;
using System.Collections.Generic;
using System.ServiceModel;
using eTMS.DAO;
namespace eTMS.Services{
	/********************************BEGIN XepLoaiTongKetService****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:27/10/2011 56:03:12</para>
	/// <para>Class Name: XepLoaiTongKetService</para>
	/// <para>Description: </para>
	///</summary>

	
	public partial class XepLoaiTongKetService : IXepLoaiTongKetService{


		#region Select functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectOne</para>
		/// <para>Input: MaXepLoaiTongKet,ThangDanhGia_ID</para>
		/// <para>Output: XepLoaiTongKetEntity</para>
		///</summary>
		public XepLoaiTongKetEntity SelectOne(string MaXepLoaiTongKet,int ThangDanhGia_ID){
			XepLoaiTongKetDAO dao = new XepLoaiTongKetDAO();
			return dao.SelectOne(MaXepLoaiTongKet,ThangDanhGia_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectAll</para>
		/// <para>Input: </para>
		/// <para>Output: List of XepLoaiTongKetEntity</para>
		///</summary>
		public List<XepLoaiTongKetEntity> SelectAll(){
			XepLoaiTongKetDAO dao = new XepLoaiTongKetDAO();
			return dao.SelectAll();
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectAllDS</para>
		/// <para>Input: </para>
		/// <para>Output: DataSet</para>
		///</summary>
		public DataSet SelectAllDS(){
			XepLoaiTongKetDAO dao = new XepLoaiTongKetDAO();
			return dao.SelectAllDS();
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectAll</para>
		/// <para>Input: </para>
		/// <para>Output: List of XepLoaiTongKetEntity</para>
		///</summary>
		public List<XepLoaiTongKetEntity> SelectAllFilter(string strFilter){
			XepLoaiTongKetDAO dao = new XepLoaiTongKetDAO();
			return dao.SelectAllFilter(strFilter);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectAllDS</para>
		/// <para>Input: </para>
		/// <para>Output: DataSet</para>
		///</summary>
		public DataSet SelectAllDSFilter(string strFilter){
			XepLoaiTongKetDAO dao = new XepLoaiTongKetDAO();
			return dao.SelectAllDSFilter(strFilter);
		}
		#endregion

		#region Insert functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: Save</para>
		/// <para>Input: XepLoaiTongKetEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool Save(XepLoaiTongKetEntity o){
			XepLoaiTongKetDAO dao = new XepLoaiTongKetDAO();
			return dao.Save(o);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: Save</para>
		/// <para>Input: XepLoaiTongKetEntity</para>
		/// <para>Output: XepLoaiTongKetEntity</para>
		///</summary>
		public XepLoaiTongKetEntity SaveRet(XepLoaiTongKetEntity o){
			XepLoaiTongKetDAO dao = new XepLoaiTongKetDAO();
			dao.Save(o);
			return o;
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SaveList</para>
		/// <para>Input: List of XepLoaiTongKetEntity</para>
		/// <para>Output: </para>
		///</summary>
		public void SaveList(List<XepLoaiTongKetEntity> list){
			XepLoaiTongKetDAO dao = new XepLoaiTongKetDAO();
			dao.SaveList(list);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SaveListRet</para>
		/// <para>Input: List of XepLoaiTongKetEntity</para>
		/// <para>Output: List of XepLoaiTongKetEntity</para>
		///</summary>
		public List<XepLoaiTongKetEntity> SaveListRet(List<XepLoaiTongKetEntity> list){
			this.SaveList(list);
			return list;
		}
		#endregion

		#region Update functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: Update</para>
		/// <para>Input: XepLoaiTongKetEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool Update(XepLoaiTongKetEntity o){
			XepLoaiTongKetDAO dao = new XepLoaiTongKetDAO();
			return dao.Update(o);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateList</para>
		/// <para>Input: List of XepLoaiTongKetEntity</para>
		/// <para>Output: </para>
		///</summary>
		public void UpdateList(List<XepLoaiTongKetEntity> list){
			XepLoaiTongKetDAO dao = new XepLoaiTongKetDAO();
			dao.UpdateList(list);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateMaXepLoaiTongKet</para>
		/// <para>Input: NewMaXepLoaiTongKet,MaXepLoaiTongKet,ThangDanhGia_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateMaXepLoaiTongKet(string NewMaXepLoaiTongKet,string MaXepLoaiTongKet,int ThangDanhGia_ID){
			XepLoaiTongKetDAO dao = new XepLoaiTongKetDAO();
			return dao.UpdateMaXepLoaiTongKet(NewMaXepLoaiTongKet,MaXepLoaiTongKet,ThangDanhGia_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateThangDanhGia_ID</para>
		/// <para>Input: NewThangDanhGia_ID,MaXepLoaiTongKet,ThangDanhGia_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateThangDanhGia_ID(int NewThangDanhGia_ID,string MaXepLoaiTongKet,int ThangDanhGia_ID){
			XepLoaiTongKetDAO dao = new XepLoaiTongKetDAO();
			return dao.UpdateThangDanhGia_ID(NewThangDanhGia_ID,MaXepLoaiTongKet,ThangDanhGia_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateTuDiem</para>
		/// <para>Input: NewTuDiem,MaXepLoaiTongKet,ThangDanhGia_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateTuDiem(Decimal NewTuDiem,string MaXepLoaiTongKet,int ThangDanhGia_ID){
			XepLoaiTongKetDAO dao = new XepLoaiTongKetDAO();
			return dao.UpdateTuDiem(NewTuDiem,MaXepLoaiTongKet,ThangDanhGia_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateDenDiem</para>
		/// <para>Input: NewDenDiem,MaXepLoaiTongKet,ThangDanhGia_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateDenDiem(Decimal NewDenDiem,string MaXepLoaiTongKet,int ThangDanhGia_ID){
			XepLoaiTongKetDAO dao = new XepLoaiTongKetDAO();
			return dao.UpdateDenDiem(NewDenDiem,MaXepLoaiTongKet,ThangDanhGia_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateIsBangCanTren</para>
		/// <para>Input: NewIsBangCanTren,MaXepLoaiTongKet,ThangDanhGia_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateIsBangCanTren(bool NewIsBangCanTren,string MaXepLoaiTongKet,int ThangDanhGia_ID){
			XepLoaiTongKetDAO dao = new XepLoaiTongKetDAO();
			return dao.UpdateIsBangCanTren(NewIsBangCanTren,MaXepLoaiTongKet,ThangDanhGia_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateIsBangCanDuoi</para>
		/// <para>Input: NewIsBangCanDuoi,MaXepLoaiTongKet,ThangDanhGia_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateIsBangCanDuoi(bool NewIsBangCanDuoi,string MaXepLoaiTongKet,int ThangDanhGia_ID){
			XepLoaiTongKetDAO dao = new XepLoaiTongKetDAO();
			return dao.UpdateIsBangCanDuoi(NewIsBangCanDuoi,MaXepLoaiTongKet,ThangDanhGia_ID);
		}
		#endregion

		#region Delete functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: Delete</para>
		/// <para>Input: XepLoaiTongKetEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool Delete(XepLoaiTongKetEntity o){
			XepLoaiTongKetDAO dao = new XepLoaiTongKetDAO();
			return dao.Delete(o);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: DeleteByID</para>
		/// <para>Input: MaXepLoaiTongKet,ThangDanhGia_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool DeleteByID(string MaXepLoaiTongKet,int ThangDanhGia_ID){
			XepLoaiTongKetDAO dao = new XepLoaiTongKetDAO();
			return dao.DeleteByID(MaXepLoaiTongKet,ThangDanhGia_ID);
		}
		#endregion

		#region Select join to ThangDanhGia functions
		#endregion

		#region Select,delete by MaXepLoaiTongKet functions
		#endregion

		#region Select,delete by ThangDanhGia_ID functions
		#endregion
	}
	/*****************************************************************************************************/
	/**********************************END XepLoaiTongKetWebServiceBase*****************************************/
	/*****************************************************************************************************/
}

